﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Perceiveit.Xml.Tests.Serialized
{
    [Serializable()]
    public class SimpleChild
    {
        [XmlAttribute("id")]
        public int ID { get; set; }

        [XmlText()]
        public string Name { get; set; }
    }


    [Serializable()]
    public class SimpleChildList : List<SimpleChild>
    {

        [System.Xml.Serialization.XmlAttribute("user-id")]
        public string UserID { get; set; }

    }
}
